package com.bgs.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 订单和商品中间表
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OrderMiddleDetail对象", description="订单和商品中间表")
public class OrderMiddleDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单和商品中间表")
      @TableId(value = "order_middle_detail_id", type = IdType.AUTO)
    private Integer orderMiddleDetailId;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "商品id")
    private Integer orderDetailId;

    @ApiModelProperty(value = "团拼id")
    private Integer spellGroupId;


}
